#include "setting.h"
#include <QCoreApplication>
#include <QDir>
#include <QStandardPaths>

#define SET_APP_NAME "sokit-cli"

QString Setting::path()
{
    return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/" SET_APP_NAME;
}

QString Setting::get(const QString& sec, const QString& key, const QString& def)
{
    Q_UNUSED(sec)
    Q_UNUSED(key)
    return def;
}

void Setting::set(const QString& sec, const QString& key, const QString& val)
{
    Q_UNUSED(sec)
    Q_UNUSED(key)
    Q_UNUSED(val)
    // 命令行版本不需要保存设置
} 